<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'payouts-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'member_id'); ?>
		<?php echo $form->textField($model,'member_id'); ?>
		<?php echo $form->error($model,'member_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'year'); ?>
		<?php echo $form->textField($model,'year'); ?>
		<?php echo $form->error($model,'year'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'week_no'); ?>
		<?php echo $form->textField($model,'week_no'); ?>
		<?php echo $form->error($model,'week_no'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bv_personal'); ?>
		<?php echo $form->textField($model,'bv_personal'); ?>
		<?php echo $form->error($model,'bv_personal'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bv_left'); ?>
		<?php echo $form->textField($model,'bv_left'); ?>
		<?php echo $form->error($model,'bv_left'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bv_right'); ?>
		<?php echo $form->textField($model,'bv_right'); ?>
		<?php echo $form->error($model,'bv_right'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bv_left_carryover'); ?>
		<?php echo $form->textField($model,'bv_left_carryover'); ?>
		<?php echo $form->error($model,'bv_left_carryover'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bv_right_carryover'); ?>
		<?php echo $form->textField($model,'bv_right_carryover'); ?>
		<?php echo $form->error($model,'bv_right_carryover'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bv_match'); ?>
		<?php echo $form->textField($model,'bv_match'); ?>
		<?php echo $form->error($model,'bv_match'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'payout'); ?>
		<?php echo $form->textField($model,'payout'); ?>
		<?php echo $form->error($model,'payout'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'status'); ?>
		<?php echo $form->textField($model,'status',array('size'=>8,'maxlength'=>8)); ?>
		<?php echo $form->error($model,'status'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'dt_created'); ?>
		<?php echo $form->textField($model,'dt_created'); ?>
		<?php echo $form->error($model,'dt_created'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->